package com.luych.toolbox.data.service.entity;

import com.luych.toolbox.common.enums.DataProjectStatus;
import com.luych.toolbox.common.service.base.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "data_project")
public class DataProject extends BaseEntity {

    @Column(name = "name")
    private String name;
    @Column(name = "status")
    @Enumerated(EnumType.STRING)
    private DataProjectStatus status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DataProjectStatus getStatus() {
        return status;
    }

    public void setStatus(DataProjectStatus status) {
        this.status = status;
    }
}